package ldh.serialize;

import ldh.serialize.io.ByteBuf;

import java.io.IOException;

public interface BinarySerialized<T> extends Serialized<T> {

	public void write(ByteBuf out, T t) throws IOException;
	
	public T read(ByteBuf in) throws IOException;
	
	public Class<T> getClassType();
}
